package com.scut.online_black_market.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;


import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@TableName("errand_task")
public class ErrandTask {
    @TableId(value="errand_id",type= IdType.AUTO)
    private BigInteger errandId;

    private String proposerNumber;
    private String startPlace;
    private String endPlace;
    private float weight;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private float price;
    private String note;
    private int state;
}
